TODO: brief description of BATSRUSInterpolator class.
More...
#include <Adapt3DInterpolator.h>
|
| | Adapt3DInterpolator (Model *modelReader) |
| |
| float | interpolate (const std::string &, const float &c0, const float &c1, const float &c2) |
| |
| float | interpolate (const std::string &, const float &c0, const float &c1, const float &c2, float &dc0, float &dc1, float &dc2) |
| |
| float | interpolate (const long &variable_id, const float &c0, const float &c1, const float &c2) |
| |
| float | interpolate (const long &variable_id, const float &c0, const float &c1, const float &c2, float &dc0, float &dc1, float &dc2) |
| |
| virtual | ~Adapt3DInterpolator () |
| |
| | Interpolator () |
| |
| virtual float | getConversionFactor (const std::string &) |
| |
| virtual float | getConversionFactor (const long &variable_id) |
| |
| std::string | getModelName () |
| |
| virtual | ~Interpolator () |
| |
| void | setModelReader (Model *reader) |
| |
|
| static void | calculation1 (const float &a, const float &b, const float &c, const float &d, const float &e, float &result) |
| |
TODO: brief description of BATSRUSInterpolator class.
TODO: full description of BATSRUSInterpolator class
| ccmc::Adapt3DInterpolator::Adapt3DInterpolator |
( |
Model * |
modelReader | ) |
|
| ccmc::Adapt3DInterpolator::~Adapt3DInterpolator |
( |
| ) |
|
|
virtual |
| void ccmc::Adapt3DInterpolator::calculation1 |
( |
const float & |
a, |
|
|
const float & |
b, |
|
|
const float & |
c, |
|
|
const float & |
d, |
|
|
const float & |
e, |
|
|
float & |
result |
|
) |
| |
|
static |
| float ccmc::Adapt3DInterpolator::interpolate |
( |
const std::string & |
variable, |
|
|
const float & |
c0, |
|
|
const float & |
c1, |
|
|
const float & |
c2 |
|
) |
| |
|
virtual |
- Parameters
-
| variable | |
| c0 | X component of the position |
| c1 | Y component of the position |
| c2 | Z component of the position |
- Returns
Implements ccmc::Interpolator.
| float ccmc::Adapt3DInterpolator::interpolate |
( |
const std::string & |
variable, |
|
|
const float & |
c0, |
|
|
const float & |
c1, |
|
|
const float & |
c2, |
|
|
float & |
dc0, |
|
|
float & |
dc1, |
|
|
float & |
dc2 |
|
) |
| |
|
virtual |
Interpolation method. Note that using the variable ID is significantly faster than using the variable string.
- Parameters
-
| variable | The input variable. |
| c0 | X component of the position |
| c1 | Y component of the position |
| c2 | Z component of the position |
| dc0 | Reference to a variable to store the delta for component 0 |
| dc1 | Reference to a variable to store the delta for component 1 |
| dc2 | Reference to a variable to store the delta for component 2 |
- Returns
- The interpolated value at position (c0,c1,c2) with deltas (dc0,dc1,dc2)
TODO: figure out what to do about the dc0,dc1,dc2 values
lets see if required variables are in memory
Implements ccmc::Interpolator.
| float ccmc::Adapt3DInterpolator::interpolate |
( |
const long & |
variable_id, |
|
|
const float & |
c0, |
|
|
const float & |
c1, |
|
|
const float & |
c2 |
|
) |
| |
|
virtual |
- Parameters
-
| variable_id | |
| c0 | X component of the position |
| c1 | Y component of the position |
| c2 | Z component of the position |
- Returns
Implements ccmc::Interpolator.
| float ccmc::Adapt3DInterpolator::interpolate |
( |
const long & |
variable_id, |
|
|
const float & |
c0, |
|
|
const float & |
c1, |
|
|
const float & |
c2, |
|
|
float & |
dc0, |
|
|
float & |
dc1, |
|
|
float & |
dc2 |
|
) |
| |
|
virtual |
Interpolation method. Note that using the variable ID is significantly faster than using the variable string.
- Parameters
-
| variable_id | A long representing the variable ID. |
| c0 | X component of the position |
| c1 | Y component of the position |
| c2 | Z component of the position |
| dc0 | Reference to a variable to store the delta for component 0 |
| dc1 | Reference to a variable to store the delta for component 1 |
| dc2 | Reference to a variable to store the delta for component 2 |
- Returns
- The interpolated value at position (c0,c1,c2) with deltas (dc0,dc1,dc2)
Implements ccmc::Interpolator.
The documentation for this class was generated from the following files:
- /Users/apembrok/Documents/workspaces/workspace.bak2/workspace.backup/kameleon-plus/src/ccmc/Adapt3DInterpolator.h
- /Users/apembrok/Documents/workspaces/workspace.bak2/workspace.backup/kameleon-plus/src/ccmc/Adapt3DInterpolator.cpp